
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import java.util.List;


import messagepasser.DocInfo;
import messagepasser.UserInfo;

public class Client_Servant extends UnicastRemoteObject implements Client {
	
	LoggedIn mainWindow;
		
	public Client_Servant(LoggedIn i) throws RemoteException {
		mainWindow = i;
	}

	@Override
	public void newDocument(DocInfo d) throws RemoteException {
		System.out.println ("new user");
		
	}

	@Override
	public void newUserOnline(UserInfo u) throws RemoteException {
		System.out.println ("new doc");
		
	}	
	
}
